flow (effect)
flowはただの関数合成
code:ts
const increment = (x: number) => x + 1;
const double = (x: number) => x * 2;
const subtractTen = (x: number) => x - 10;
// pipe
const result = pipe(5, increment, double, subtractTen);
// flow
const f = flow(increment, double, subtractTen);
const result2 = f(5);